package com.sohu.sip.group.util;

/**
 * 
 * @author weiweichen
 *
 */
public class HashTool {
	/**
	 * @param id
	 * @return
	 */
	public static int hashServerId(Long id, int isize) {
		int result= (id.hashCode() & 0xfffffff) % isize;

		return result;
	}
}
